x86: detect and initialize Cache Monitoring Technology feature
authorDongxiao Xu <dongxiao.xu@intel.com>
Mon, 6 Oct 2014 10:36:51 +0000 (12:36 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 6 Oct 2014 10:36:51 +0000 (12:36 +0200)
commit021871770023700a30aa7e196cf7355b1ea4c075
tree4dcbe8e92d543dd8ed495b1c7cfbc2879d674e6c
parentfc265934d83be3d6da2647dce470424170fb96e9
x86: detect and initialize Cache Monitoring Technology feature

Detect Cache Monitoring Technology(CMT) feature and enumerate the
resource types, one of which is to monitor the L3 cache occupancy.

Also introduce a Xen command line parameter to control the Platform
Shared Resource such as CMT.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Chao Peng <chao.p.peng@linux.intel.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Release-Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
docs/misc/xen-command-line.markdown
xen/arch/x86/Makefile
xen/arch/x86/psr.c [new file with mode: 0644]
xen/include/asm-x86/cpufeature.h
xen/include/asm-x86/psr.h [new file with mode: 0644]